package com.zq.spring;

import com.zq.spring.service.impl.IndexServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author: zhaoqi
 * @Date: 2020/4/23 18:27
 * @Version 1.0
 */

@Controller("indexController3")
public class IndexController3 {

    @Autowired
    private IndexServiceImpl indexServiceimpl;

    @GetMapping("index1")
    public String Test(String test){
        //ClassLoader
        return  indexServiceimpl.test(test);
    }

}
